package com.tairan.chapter.flowable;

import com.tairan.chapter.flowable.config.AppDispatcherServletConfiguration;
import com.tairan.chapter.flowable.config.ApplicationConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.annotation.Import;
import tk.mybatis.spring.annotation.MapperScan;

@Import({
        ApplicationConfiguration.class,
        AppDispatcherServletConfiguration.class
})
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
@MapperScan(basePackages = "com.tairan.chapter.flowable.dao")
public class TairanSpringBootFlowableApplication {

    public static void main(String[] args) {
        SpringApplication.run(TairanSpringBootFlowableApplication.class, args);
    }

}
